home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / stat_xact.man < prev    next >
Text File  |  1993-04-22  |  1KB  |  45 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89                stat_xact
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  stat_xact
  6.  
  7.   FUNCTION:
  8.        Return the current status of a distributed transaction.
  9.  
  10.   SYNTAX:
  11.        int stat_xact(connect, commid)
  12.  
  13.        DBPROCESS *connect;
  14.        DBINT     commid;
  15.  
  16.   COMMENTS:
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   stat_xact               Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.  
  27.        o This routine returns the transaction status for  the  specified
  28.          distributed transaction.
  29.  
  30.   PARAMETERS:
  31.        connect -  A pointer to the DBPROCESS used  to  communicate  with
  32.            the commit service.
  33.        commid -  The commid used to identify the transaction to the com-
  34.            mit service.  If commid is -1, all commit service records are
  35.            displayed.
  36.  
  37.   RETURNS:
  38.        A character code: 'a' (abort), 'b'  (begin),  'c'  (commit),  'u'
  39.        (unknown), or -1 (request failed).
  40.  
  41.   SEE ALSO:
  42.        abort_xact, commit_xact, remove_xact, scan_xact, start_xact
  43.  
  44.  
  45.